<?php

$this->pageTitle=Yii::app()->name . ' - Login';

$this->breadcrumbs=array(
	'Aulas',
);

$this->menu=array(
	array('label'=>'Cadastrar Aula','url'=>array('create', 'id'=>$turma->id)),
	array('label'=>'Gerenciar Aulas','url'=>array('admin')),
);
?>

<h1>Aulas da Turma: <?php echo $turma->nome; ?></h1>


<?php $this->widget('bootstrap.widgets.TbGridView',array(
	'id'=>'aula-grid',
	'dataProvider'=>$model->search($turma->id),
	'columns'=>array(
		'local',
		'horario',
		'data',
		'dias',
		array(
			'class'=>'bootstrap.widgets.TbButtonColumn',
		),
	),
)); ?>
